namespace IntegrationTests
{
	using NUnit.Framework;

	public class IntegrationFixtureBase : AssertionHelper
	{
		[SetUp]
		public void Teardown()
		{
			using (var context = new SampleDataContext())
			{
				context.Customers.DeleteAllOnSubmit(context.Customers);
				context.Contacts.DeleteAllOnSubmit(context.Contacts);
				context.CustomerTypes.DeleteAllOnSubmit(context.CustomerTypes);
				context.SubmitChanges();
			}
		}
	}
}